package com.google.code.cisx.web;

import net.sourceforge.stripes.action.ActionBean;
import net.sourceforge.stripes.action.ActionBeanContext;

import com.google.code.cisx.servlets.RemoteServiceBasedActionBeanSupport;

/**
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * @version $Id: CommonActionBean.java 259 2008-11-29 13:18:52Z rahul.thakur.xdev $
 * @since 1.0
 * @deprecated Extend from {@link RemoteServiceBasedActionBeanSupport} instead!
 */
public abstract class CommonActionBean implements ActionBean {

  protected ActionBeanContext context;

  /**
   * {@inheritDoc}
   * 
   * @see net.sourceforge.stripes.action.ActionBean#getContext()
   */
  @Override
  public ActionBeanContext getContext() {
    return this.context;
  }

  /**
   * {@inheritDoc}
   * 
   * @see net.sourceforge.stripes.action.ActionBean#setContext(net.sourceforge.stripes .action.ActionBeanContext)
   */
  @Override
  public void setContext(ActionBeanContext context) {
    this.context = context;
  }

}